package com.ma.serviceImp;

import com.ma.mapper.CarMapper;
import com.ma.model.Car;
import com.ma.service.CarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * author: MaHX
 * date: 2019/5/27/22:49
 * description:
 **/
@Service
public class CarServiceImpl implements CarService {
    @Autowired
    CarMapper carMapper;

    @Override
    public Car findCarById(int id) {
        return carMapper.findCarById(id);
    }
}
